package org.example.classtopia.Mapper;

import org.example.classtopia.Model.Entity.PostLike;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PostLikeMapper {
    int insert(PostLike postLike);
    int deleteByUserAndPost(Long userId, Long postId);
    int countByPostId(Long postId);
    PostLike findByUserAndPost(Long userId, Long postId);
}

